<%--
  Created by IntelliJ IDEA.
  User: 雄帅
  Date: 2018/8/27
  Time: 18:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="d" uri="http://dgg.net/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>退回证书信息列表</title>
    <%@ include file="../../../header.jsp" %>
</head>
<body class="body-main">
<div class="titleSearch">
    <div style="display: none;">
        <input id="generalType" value="${generalType}"/>
    </div>
    <form id="titleSearch">
        <d:hasUrlAuth authCode="ZZSC_ZS_SYB">
            <div class="layui-inline">
                <label>所属事业部：</label>
                <div class="layui-input-inline">
                    <select name="signOrgId" id="signOrgId" class="input-style" autocomplete="off">
                        <option value="">全部</option>
                    </select>
                </div>
            </div>
        </d:hasUrlAuth>

        <div class="layui-inline">
            <label>证书类型：</label>
            <div class="layui-input-inline">
                <select class="select-style" name="certificateType" id="certificateType"
                        onchange="loadCertificateType('190px','#certificateType','${generalType}',1,'#certificateSpecialtys',0,'#certificateLevel')">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label>证书专业：</label>
            <div class="layui-input-inline">
                <select class="select-style" name="certificateSpecialtys" id="certificateSpecialtys" style="width:150px">
                    <option value="">请先选择证书类型</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <label>证书等级：</label>
            <div class="layui-input-inline">
                <select class="select-style" name="certificateLevel" id="certificateLevel" style="width:150px">
                    <option value="">请先选择证书类型</option>
                </select>
            </div>
        </div>

        <div class="layui-inline">
            <label>适用范围：</label>
            <div class="layui-input-inline">
                <select class="select-style" name="applicationScopes">
                    <option value="">全部</option>
                    <c:forEach var="p" items="${applicationScopes}">
                        <option value="${p.code}">${p.name}</option>
                    </c:forEach>
                </select>
            </div>
        </div>


        <div class="layui-inline">
            <label>地区：</label>
            <div class="layui-input-inline">
                <div class="bus-plugIn" id="certificateArea">
                    <input type="hidden" name="certificateAreaId" class="plug-in-msg"/>
                    <input type="hidden" name="certificateArea" class="plug-in-code"/>
                    <input type="text" readonly placeholder="请选择" class="chose-plugIn layui-input"
                           id="certificateAreaChange" name="areaName">
                    <div class="bus-picker">
                        <div class="bus-picker-tab">
                            <a href="javascript:void(0);" class="active">请选择</a>
                        </div>
                        <div class="bus-picker-content"></div>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-inline">
            <label>持证人电话：</label>
            <div class="layui-input-inline">
                <input type="text" class="input-style win100" id="personalPhone" name="personalPhone"/>
            </div>
        </div>

        <div class="layui-inline">
            <label>身份证号码：</label>
            <div class="layui-input-inline">
                <input type="text" class="input-style win250" id="personalIdCard" name="personalIdCard"/>
            </div>
        </div>

        <div class="layui-inline">
            <label>关键字：</label>
            <div class="layui-input-inline">
                <input type="text" class="input-style win250" placeholder="持证人/收证商务/证书编号/证书名称" id="keywords"
                       name="keywords"/>
            </div>
        </div>
    </form>

    <div class="layui-inline">
        <button class="layui-btn layui-btn-mini layui-btn-normal" onclick="search('#myTable','reload')">搜索</button>
        <button class="layui-btn layui-btn-mini layui-btn-primary layui-btn-green" onclick="exportReturnCertificate()">导出</button>
        <button class="layui-btn layui-btn-mini layui-btn-primary" onclick="cleanSearch()">清空</button>
    </div>
</div>

<table id="myTable" class="cell-border crm-table">
</table>

<%@ include file="../../../footer.jsp" %>
<script src="${rootUrl}/static/js/zzsc/common/verificationTool.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/common/functionalTool.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/credential/credentailCommon/credentailCommon.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/returnCertificate/return_certificate.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/production/sc_common.js?v=${version}"></script>
</body>
</html>
